<template>
  <button @click="changeProps">变更props</button>
  <ButtonCounter :foo="foo" :propE="propE" :propF="propF" @submit="kkx" />
</template>
<script setup>
function kkx(params) {
    console.log(params);
}
import { ref } from "vue";
const foo = ref(1);
const propE = ref(101);
const propF = ref({
  kkx: 12306,
});
function changeProps() {
  foo.value++;
  propE.value++;
  propF.value.cc = "大众cc";
}
</script>
